<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
		<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'">
		<title>Hello World!</title>
	</head>
	<body>
		<h1>Hello Worlds!</h1>
		<p>
			We are using Node.js <span id="node-version"></span>,
			Chromium <span id="chrome-version"></span>,
			and Electron <span id="electron-version"></span>.
		</p>
		<button type="button" id="btn_gen">Node调用Rust generate_str</button><br><br>
		<input type="text" id="rust_name" value="world" placeholder="input your name">
		<button type="button" id="btn_say">Node调用Rust say_hello</button>
		<div id="rust_result"></div>
		<!-- You can also require other files to run in this process -->
		<script src="./renderer.js"></script>
	</body>
</html>
